//RectPrism.h
//Contains the class definitions for the Rectangular Prism Class

#include <iostream>
#include "Rectangle.h"

using namespace std;

#ifndef RECTPRISM_H
#define RECTPRISM_H

class RectPrism : public NonCircularShapes
{
public:
	RectPrism(const float &, const float &, float = 0.0, float = 0.0, float = 0.0);

	void setHeight(float);
	float getHeight() const;

	void setVol();
	float getRpVol() const;

	virtual float volume() const;
	
	private:
	float height;
	float RP_volume;
	};

#endif